<?php 

$_config = array();


$_config['db']['1']['dbhost'] = 'localhost';
$_config['db']['1']['dbuser'] = 'root';
$_config['db']['1']['dbpw'] = 'root';
$_config['db']['1']['dbcharset'] = 'gbk';
$_config['db']['1']['pconnect'] = '0';
$_config['db']['1']['dbname'] = 'x32';
$_config['db']['1']['tablepre'] = 'pre_';

$_config['output']['charset'] = 'gbk';
$_config['output']['ajaxvalidate'] = 1;

$_config['security']['authkey'] = '785d13u9a2EKegRH';
$_config['security']['querysafe']['status'] = 1;
$_config['security']['querysafe']['dfunction']['0'] = 'load_file';
$_config['security']['querysafe']['dfunction']['1'] = 'hex';
$_config['security']['querysafe']['dfunction']['2'] = 'substring';
$_config['security']['querysafe']['dfunction']['3'] = 'if';
$_config['security']['querysafe']['dfunction']['4'] = 'ord';
$_config['security']['querysafe']['dfunction']['5'] = 'char';
$_config['security']['querysafe']['daction']['0'] = '@';
$_config['security']['querysafe']['daction']['1'] = 'intooutfile';
$_config['security']['querysafe']['daction']['2'] = 'intodumpfile';
$_config['security']['querysafe']['daction']['3'] = 'unionselect';
$_config['security']['querysafe']['daction']['4'] = '(select';
$_config['security']['querysafe']['daction']['5'] = 'unionall';
$_config['security']['querysafe']['daction']['6'] = 'uniondistinct';
$_config['security']['querysafe']['dnote']['0'] = '/*';
$_config['security']['querysafe']['dnote']['1'] = '*/';
$_config['security']['querysafe']['dnote']['2'] = '#';
$_config['security']['querysafe']['dnote']['3'] = '--';
$_config['security']['querysafe']['dnote']['4'] = '"';
$_config['security']['querysafe']['dlikehex'] = 1;
$_config['security']['querysafe']['afullnote'] = '0';

// APP
$_config['app']['site'] = array();
$_config['app']['version'] = '1.0.1';


// URL加载control
// $_config['rules'][] = array(
//     ':c',
//     array(
//     )
// );

//http://app.com/api/v1/forumdisplay/fid/1
$_config['rules'][] = array(
	'api/:version/:module/*',
    array(
        
    ),
	array(
	    'c' => 'api',
	)
);




$_config['rules'][] = array(
    'console/:console/:action/*',
    array(
        
    ),
    array(
        'c' => 'console',
    )
);





return array(
	'config' => $_config,
);
 
?>